import request from '@/utils/request'

// 查询耳标数量列表
export function listEarnumber(query) {
  return request({
    url: '/dgw/earnumber/list',
    method: 'get',
    params: query
  })
}

// 查询耳标数量详细
export function getEarnumber(id) {
  return request({
    url: '/dgw/earnumber/' + id,
    method: 'get'
  })
}

// 新增耳标数量
export function addEarnumber(data) {
  return request({
    url: '/dgw/earnumber',
    method: 'post',
    data: data
  })
}

// 修改耳标数量
export function updateEarnumber(data) {
  return request({
    url: '/dgw/earnumber',
    method: 'put',
    data: data
  })
}

// 删除耳标数量
export function delEarnumber(id) {
  return request({
    url: '/dgw/earnumber/' + id,
    method: 'delete'
  })
}

// 导出耳标数量
export function exportEarnumber(query) {
  return request({
    url: '/dgw/earnumber/export',
    method: 'get',
    params: query
  })
}



export function queryList(query) {
  return request({
    url: '/dgw/earnumber/queryList',
    method: 'get',
    params: query
  })
}
export function querySum(query) {
  return request({
    url: '/dgw/earnumber/querySum',
    method: 'get',
    params: query
  })
}

export function queryEarList(query){
  return request({
    url: "/dgw/earnumber/queryEarList",
    method:'get',
    params: query
  })
}
